package com.example.test1.service;

import com.example.test1.model.Drink;

import java.util.List;
import java.util.Optional;

public interface IDrinkService {
    List<Drink> getAllDrinks();
    Drink addNewDrink(Drink drink);
    Optional<Drink> getDrinkById(Long id);
    void deleteDrink(Long id);
    void updateDrink(Drink drink);
}
